package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import com.sun.jna.Structure;
import com.sun.jna.Union;

public class ReadAllResultUnion extends Structure {

	public ReadOpResult readOpResult = new ReadOpResult();
	public ReadCustomResult readCustomResult = new ReadCustomResult();
	
	public static class ByValue  extends ReadAllResultUnion implements Structure.ByValue  { }		
	public static class ByReference extends ReadAllResultUnion implements Structure.ByReference { }	
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("readOpResult");   
        a.add("readCustomResult");  
        return a;  
    }

	@Override
	public String toString() {
		return "ReadAllResultSt [readOpResult=" + readOpResult + ", readCustomResult=" + readCustomResult + "]";
	}
	

}
